
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>

    <title>支付方式</title>
    <%@ include file="/common/include-core.jsp" %>
    <%@ include file="/common/jspTemplate.jsp" %>
    <style type="text/css">
        table{
            table-layout:fixed;/* 只有定义了表格的布局算法为fixed，下面td的定义才能起作用。 */
        }
        td{
            width:100%;
            word-break:keep-all;/* 不换行 */
            white-space:nowrap;/* 不换行 */
            overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
            text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ；需与overflow:hidden;一起使用。*/
        }
    </style>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 订单 <span class="c-gray en">&gt;</span> 支付方式 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
 <div class="text-c">
        <form action="/admin/order/getPayMentList.html" method="post" id="searchForm">
            <input type="hidden" id="count" value="${pageInfo.total }" />
            <input type="hidden" id="page" name="page" value="${pageInfo.pageNum }" />
            <input type="hidden" id="pageSize" name="pageSize" value="${pageInfo.pageSize }" />
        </form>
    </div>
    <div class="mt-20 portfolio-content">
        <table class="table table-border table-bordered table-bg table-hover table-sort">
            <thead>
            <tr class="text-c">
                <%--<th>产品类型</th>--%>
                <th width="25%">支付类型</th>
                <th width="20%">支付方式</th>
                <th width="25%">金额</th>
                <th width="25%">支付时间</th>
                <th width="10%">支付状态</th>
               <%-- <th width="10%">操作</th>--%>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${pageInfo.list}" var="item" varStatus="index">
                <tr class="text-c">
                        <%--<td>${item.productTypeId}</td>--%>
                    <td class="td-status">
                        <c:if test="${item.payType==1}">支付</c:if>
                        <c:if test="${item.payType==2}">退款</c:if>
                    </td>
                    <td class="td-status">
                         <c:if test="${item.payMode==1}">卡券</c:if>
                         <c:if test="${item.payMode==2}">银联</c:if>
                         <c:if test="${item.payMode==3}">支付宝</c:if>
                         <c:if test="${item.payMode==4}">微信</c:if>
                         <c:if test="${item.payMode==5}">余额</c:if>
                        <c:if test="${item.payMode==6}">WAP微信</c:if>
                         <c:if test="${item.payMode==7}">WAP支付宝</c:if>
                     </td>
                     <td title="<fmt:formatNumber type="number" value="${item.price/100 } " maxFractionDigits="2"/>">
                         <fmt:formatNumber type="number" value="${item.price/100 } " maxFractionDigits="2"/>
                     </td>
                            <td>
                                <fmt:formatDate value="${item.createTime}" pattern="yyyy-MM-dd HH:mm"/>
                            </td>
                    <td class="td-status">
                        <c:if test="${item.status==1}">未支付</c:if>
                        <c:if test="${item.status==2}">已支付</c:if>
                    </td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
      <%--  <div class="ui-page tr mt10" style="float: right;margin-top: 10px;margin-bottom: 10px"></div>--%>
    </div>
</div>
<script type="text/javascript" src="/static/js/product/getProductEntityList.js"></script>
<%@ include file="/common/include-footer.jsp" %>
</body>
</html>